from graph import *

x = int(input("x="))
y = int(input("y="))
n=int(input("размер=")) 
windowSize(500, 500)
brushColor("blue") 
penColor("blue") 
if x > 500 or y > 500 or y+20*n > 500 or x+30*n > 500 or x < 0 or y < 0: 
     print("ошибка") 
else:
     polygon([(x, y), (x+10*n, y), (x+10*n, y+10*n), (x+20*n, y+10*n), (x+20*n, y), (x+30*n, y), (x+30*n, y+20*n), (x, y+20*n), (x, y)]) 
run()
